#include <QtGui/QApplication>

//PROJECT INCLUDES
#include "ui.h"
#include "pcqc.h"

int main(int argc, char *argv[])
{

    QApplication app(argc, argv);
    Pcqc *pcqc = new Pcqc();
    Ui ui(pcqc);
    ui.showMaximized();
    if(pcqc->loadTargetCloud(QString("reference.pcd")))
        ui.showTarget();
    if(pcqc->loadSourceCloud(QString("sample.pcd")))
        ui.showRegistered();
    pcqc->loadArdoranReferenceCloud(QString("ardoran-reference.pcd"));
    if(pcqc->loadArdoranSampleCloud(QString("ardoran-sample.pcd")))
        ui.showArdoranRegistered();
    return app.exec();
}


